package com.example.tx.controller;

import com.example.tx.service.AddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author cyt
 * @create 2021-03-21 11:21
 */
@RestController
public class TxController {

    @Autowired
    private AddressService addressService;

    @GetMapping("/test")
    public String test(){
        return addressService.testTx();
    }
}
